Skip to content

fix: stabilize discount flow effect#2

Open
JxnLexn wants to merge 1 commit intomainfrom
codex/fix-javascript-heap-out-of-memory-error-9bhzxp
Open

fix: stabilize discount flow effect#2
JxnLexn wants to merge 1 commit intomainfrom
codex/fix-javascript-heap-out-of-memory-error-9bhzxp

Conversation

@JxnLexn
Copy link
Copy Markdown
Owner

@JxnLexn JxnLexn commented Sep 8, 2025

Summary

  • avoid re-running discount initialization on React strict mode re-renders by tracking last search params
  • parse URL params from serialized string instead of the mutable searchParams object

Testing

  • pnpm lint (fails: interactive configuration required)
  • pnpm oxlint (fails: 1 error, 3 warnings)

https://chatgpt.com/codex/tasks/task_e_68bf454cc798832eabd3ff2d6dfd955b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant